pulling in my prior broken shitty server code