Broke the code into functions