commenting code for readability