code developed during training at the Codeacademy