modify servercore class