updated sleep interval for display none
renamed according to assignment description