trace elements functions