Version of the code as used for the FENNECS paper