merged in srepl