needed updated material to finished draw functions