modify generate random subset
final images for Part 1