added support for second y-axis