json and stuff works now