first draft Ajax API assignment missing