Problem from career cup and ,some modifications