wraps methods in a class