adding direction as property