some extra libraries written in C++