almost there, most of the applications do not compile