use gandalf as namespace instend of global scope