setup render add state