weight implementation ter