simplify exec method
Merge pull request #163 from Ashrey/dev

simplify exec method