starting work on adding second return value to thumbnail query