Ancient code I found up from college days.