addition for class_secure