updated to have 3 exmaples working