cat program finished