Understanding the relay module