wrote navbar