Fine tuning the directions functions.