Updating initial logic.