simplify
server basically done