ch2-functions fixed1