extending the correct resource class