moved triangle to separate model