Direction is calculated