added private properties, selectedthumbnail used in validation