Developing code in comments. Added the idea of a function handling the parameters for the return and alert