Woops, getTime was in wrong location