added libraries: almost done