class declaration fail