A note on Grayson's theorem