added comments in gray