Functional if/else statement
begun to format it