project modified for latest logipi
corrected source