How to set the overload correctly?