moved 'time' to server