example3 and fixes