inserted debug statements, ready to test sda_embed_test.py