revert deletion of wifi code