worked a bit on compilation