slice and dice
Working, final version