added names to ajax