Renaming outp to outbufp because outp() is an existing function