refactored wifi info