module generation working, including array types