Function name tells to provide nodes first and after that select roles. This quite a bit confusing to pass arguments in reverse order