almost a copy of the istanbul instrument command