Removed sleep and cache reliance & formatted