Ah yes I forgot function are added to the scope and so accessible.