added boilerplate and fixed base