adding shortening and test boilerplate