common class define