continued working on AJAX behaviour