adding UI directives, gainnode working