Got rid of boilerplate bootstrap
Legend implementation