adding attar accessor for search type