card search and picture working