added few libs
updated code