update to calling method and bug fix
update to meter, add support for batchsize
fix style