improved REAMDE