changed level difficulty logic