working example with two axes