uploading mean boilerplate