changed back to getclock