make this class receive parameters from input arguments