direction input