class structure introduced