Chapter three exercises