added id to returned array