added create voxel function