annotated code 3