some tweaking with direction