Merge pull request #4 from arunthomas/custom_inst