basic scope example