Added if statement to start converting from 12 to 24