Implemented ajxa call separate function