changed the params to adapt backend output