array support for non primitive types added