Solution for params hash