added functionalities to get input arguments