wip, mostly server stuff