added dimensions to output