worked out the href in the return, two calls done with docs but still untidy