Change void returned to bool in active and deactive