set "tried" to true here, otherwise you'd try again and again for no reason