Separated primary and secondary keywords into separate tables