added server calls and other such codely shenanigans