added get time and get location