finally working server