updated to actually center the time