unifies the api for both Numeric and OWeight