3 assignments with ajax