changed a bunch of backend stuff