initial setting up of idle state