updates based on PR feedback, refactor of triangle_type and triangle_show, move type into initialize