3d box and switch modes updated