“It is ordered and adjudged that the judgment of the district court is reversed, and the cause is remanded to the district court for further proceedings in accordance with the opinion of this court.”