changes in Shape class