template: added full objects as argument

HIIIIIIIIIIIII