Don't code at 3am kids

revise a basic logic mistake