$d boilerplate