thanks jms. It work great now.But what is the difference if I not expose and expose using public properties.