enum should begin from zero instead of one