Material evaluation code added