changed some values around to match their triangle picture (it was totally not the same as their code)