modify code to only do 10 miras. don't want to mess anything up so made copy