Add direction variable