initial support for array mapping