added map 1 to 4, and code comments