receiver final code !