adds boilerplate method