$duration property should be public