attempted direction function