changed 3d stuff