extra function for direction