adding AJAX features