got it almost working but need to fix error on id