test script + used assembly pieces of code