removing unused time variable