Server side coded up and compiles. Not actually tested.