made the null outp dynamic