Compilable version of the previous