dealing with am/pm