use vector macros in objects hierarchy