adding the libraries but the code is broken