using vars from init_all for addresses