better way to determine am or pm when naming