was not capturing output