Added a method to parse input