the penguin method complete program