better implenment and more culling