final commit as on Sunday morning

tested with arduino code