improvements for reprep