added padding to terms