Project P2 from Front End Nano Degree version 2