getting list of directions