setter function for refine direction function