implemented counter 0 -- 99