plus counter + db working