make possible to receive params object