class name change to Triangle