Stopped declaring direction, added default case statement