The toDirection Method which takes a Map Location in as a parameter is a non static method so it cannot be used in our Robots as they use static methods. If we use a non - static run method then it may not work in the competition. Please add the static keyword to the method.