add pubObject for later usage