added wifi code, getting compiler errors