Params method added & bug fixes