Ex for the second chapter