Refacoted document to reduce copy pasting