Reimplemented holdingscounter and isxn tools