adding ajax feature