works
compile and test script