add ajax for fast reponse