implements standby mode