first cycle of the AJAX part, not finished
Solving a conflict