deploy class more generic