add weight to backend