some work done in server class