playing around with ajax and apis