define Chain class