Added TOPP function

Really... I'm too lazy. Too busy, I mean.