compiling into one file