adding a generic stub for easy creation of protocols