make idle time be optional