naviation and rror messages added