input working pretty well