adding culling support