Improved code: Multiple receivers supported.