update to work with new direction classes