added two directions