started implementing culling