worked on keyword replacement