fixes done to discretization - now accept mixed lists