fixed typo
restructuring output