added library dependencies to code