add comment code for hints struct