when there are no fixed duties assigned to officers and men,