code with new boilerplate