Converted the calls of Input to static methods