tried to implement verification of mandatory parameters