about to change form
added rootscope. not done with its full functionality yet