adding ajax integration