master and harbor, TODO: test