Can we have a small comment why are we hooking in and what we're trying to achieve in this function?