build in check for assessmentid