adding code to fetch keywords