added a bunch of bullshit, mostly palying with ajax