0 = right
1 = left