input working. TODO: add to_box and display distance