changed condition for choosing strategy