adding command to check command output