revised output