starting to get the ajax working... still a long way to go