I had posted this GPT prompt a couple of days ago and it has a logic flaw