changed how data style is rendered - start from 0