change counting method for now