static add custom class