Restored to previous functionnality
Implemented loop ratio trick, not working