updated transformers to better implement collections