When I run both of this programs, there's always a message saying that an error has occured. Can you help me with this?