added ajax call to send