tmp
tmp - working out speed issues - runs too slow