wiggle format is 1 indexed