Fully functional version of REMA!!!!!