add meter; change logging