Added second if statement. testing console print out.