receiver program as a proper module