smacks layout and base examples