add extend Class method