write an ajax objective while being very confused about everything