Code runs properly, render sequence needs to be fixed.