optimal in 3 seconds