trying to handle directions

trying to handle directions