finally worked out how to solve current hour