error correction and serve breakfast functions coded