Warning to any fool thinking of using this code for something serious