3D input option added.