brian's stupid math shit