added  properties to set display duration