extract keywords - almost finished