Very basic slab creation code.