Added example number to scoping
Added function vs method invocation.