got input object working