works for single 1's and single 5's