apparently the vars can't have trailing underscores if declared with the pragma?
fixed various gotchas