removed input parsing