changes to server listener