How to use interfaces to implement receive