reorganized so the ajax should work. I think.