properly declare and collect the exported resources