program now uses synchronisation on the Penguin class