separate and indent correctly