added rg version with wakeup after 1sec