Please help with the code. I've been trying to find suitable libraries for a long time, but to no avail.