-i is working with the -r and multiple resources