add missed func materials