some modifications in reame