little changes

* anonymous function now have a private method
* dynamic render