modified version for shared library
Merge branch 'master' of https://github.com/dkmiyani/ECE1781