Merge pull request #7 from ralphtheninja/master

add instance id and type