wip. start of the ajax call