fixed multiple dataset instance problem and added better example