compiling basic version