cleaned the methods for getting inputs, and modified the input formats