ref #7. Works fine