to clear the warnings: GenericArray<?> and Map<?,?>