revise cat command