Implemented all of the conditionals