changed server to use new receiver API