first attempt to make ajax call