replica prototype
add prototype for instance
Merge pull request #1 from fengjingchao/dev

prototype