almost working, running on multiple granules