we now can call function via serial (needed for rasp pi communication