remove Dimensions package from code