saving statements and splits them into terms