made passivateclass.cpp. does not work. Filip will test