compiles and runs in Linux