refactored tringale shape in factory