wip input loop