myMaterial construct error?