compiling and preparing