decimate added
next will include typedef