added input arguments support