extract 'extractParam' method for scrutinizer