added node name choosing strategy