working on three examples