changed this.directions to self.directions