works again like the prototype
minor fix in COMPILING