allow for direction setting