added wakeLock class
removed repeating method, set used instead