getting rid of IDLE constant in our code