call a groupe of methods to a name pattern class