compiling and running through basic initialization