Thanks, that worked great.
Yeah, i initially thought that with getBehavior function found in the api would get me there, but i don't understand how to use it.