Interface for multiple input arguments

Changed the interface to handle the passing of input arguments.