working on rasterization