Basic bungee communication code, untested