Adding the boilerplate solution