create reference script (testing)
create reference script (testing)
add integration test