added required checker