Added object function