# Adding more to \_\_using\_\_?

**URL:** <https://forum.elixirforum.com/t/adding-more-to-using/36668>\
**Category:** Questions\
**Tags:** macro, use\
**Created:** [January 6, 2021, 7:12pm UTC](https://forum.elixirforum.com/t/adding-more-to-using/36668 "2021-01-06T19:12:23Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![eksperimental](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/eksperimental/32/1401_2.png) [@eksperimental](https://forum.elixirforum.com/u/eksperimental)\
**Post date:** [January 7, 2021, 4:47am UTC](https://forum.elixirforum.com/t/adding-more-to-using/36668/5 "2021-01-07T04:47:22Z")

</div>

I don’t know if I quiet understand your question, but you can put as many functions as you please inside the quote do block in **using**.

For instance:

```elixir
defmodule Using do
  defmacro __using__ (_opts) do
    quote do
      def a(), do: :a

      def b(), do: :b
    end
  end
end

defmodule Foo do
  use Using
end

```

And then

```elixir
 $iex -S mix
iex(1)> Foo.a
:a
iex(2)> Foo.b
:b

```

---

_[View the full topic](https://forum.elixirforum.com/t/adding-more-to-using/36668)._
