Fixes #6 allows data to be passed to regions