Wrote filter to move one grain to another