cat program - completed