example compiling and running. need outputing to test