added a find zero not zero based