Added code-from-when-i-was-young-and-stupid.