added basys2 counter