added methods for class in Core