Ah, old highschool code