initial input parsing