added 24hour clock code