Factor "insert" logic out of "draw" method