finalized the ajax assignments