added count to parameters