Read data is working correctly (fixed negative y values), implemented a lot of triggering functions and tested