adaptation architecture on server side