improve internal metrics