processing boilerplate