implemented power saving mode