correcter start/end breaks, dinstinct indexes not working yet