outputlib prototype