Compile with debug information
Corrections + fixed synchronization