added borrowBook function