misc design boilerplate