first comit
first comit
almost final, no serial interface
ptimizing by eliminating the divizion operation