Working on server logic.