changed display to time and added display timeout