Beginning slab code