ative function while the rema