Man, who wrote this original code... terrible!