Set up z