first step for different x-axes
new handling of different x-axis