Added sweep2wake.c