server side slightly done.