Dock manager written