input parsing module added, functional