terms as array