adding function to help with thumbnailers