combined two class