3bit jk synchronous counter. it counts till 5 then resets if oyuwant to remove the reset just disconnect the async reset .