test ajax code added, not working at the moment