Also moved to making insert after use insert before to avoid redundancies