running and ready modes