Changed transform to map