Add weighted get

Add weighted get