reading channels reverse set to false
trigger id difference set to zero
made a small change just to make it more readable, functions in a same way before