using correct resource