add class overload