add method decl
Merge pull request #10 from shidasan/methoddecl

add method decl