add required to params