parsing of terms