renamed components to resources