reimplement create_params method