Refactored so Landcaster can emit events