adding classes implemented