-- setting up outline for a plugin's send & receive functions