added ticks support