this should be change to reflect the change from 'layer' to 'collection'...