done with split on space and search based on each word