renamed media to resources to save on confusion