send class instead class name