use the correct resource