p1002 implemented with vectors
rm dust