added count and return0