test ajax method added