added comments for reference/clarity