sleep.c basic functionality bulked out