Last version of attempts for a better protocol