added triangle generation kinda