Return int array from module

There was just a long discussion about this: