initial work on generating a default action in middle. All commented out
for now.