Zaslat SMS: Determination of gaseous elements in metals