added a footer and test