adding two class