Changing from epoch to count from 0