Currently in a broken state; just a quick code backup.