initialise using object or element id or classname