add poweroff feature