adding classes and custmData work