fixed #26 and implemented Light Sleeper