added count initiation