The science behind floundering intelligently