add documentation and delete unused import

Signed-off-by: Andrea Corna <andrea.corna.ac.91@gmail.com>