some changes for initial tests with oscilloscope