added some logging to check why meter is inaccurate