added gettime to interface