add setting and init object