Bam! stuff works! submitted this code for part 1. only UB left