added metrika and fixed #9