removing mean boilerplate