added register class