add comment for if block