search and xml added to retrieving data class