Added a comment explaining the code below - collecting information for first month.