working on cleaning up the sand generation