adding implemention of methods reboot, suspend and resume