Making the direction listing a Function for easy multi implementation