re added required class attr