figuring out how I'm going to do this ajax stuff