Update: programme with errors