unused method are removed