More thorough problem description with better comments