change method to protected for sharkserver2