Some input parsing working