class layout prepared