DoIt that takes input from the environment