add mount function, separate multiple resources and single ones.