Detection of Material Level