added params config and some exceptions verifications