got input working