updated sample code to reflect property changes