added ability to change between 12/24 hour clock