abstracted out a common functionality
Merge branch 'master' of github.com:srct/advisor
Merge branch 'master' of github.com:srct/advisor