last parts of analyzeSubmission service