use the selected resources