compiling version. does not work yet