if params is not passed assign empty hash