add comment to understand code