early build, server functions untested.