doesn't compile - directions are bugged