modified datasource variable method