merged and compiling