remived Unused method, which caused compilation error