edited example.jl to reflect new prop method