created the ajax assignment