Add class method, pass all tests