new code to work with ida - need linux version for this to be useful