for the AJAX application