split class and its invocation