start building functionality that filters out stuff by resource type