switch over to use metriks
add debugging
Revert "add debugging"

This reverts commit 0090e0e4430b3a5572d4bdb98aaa669200de1a85.