C++ Code used by The Leotechs