add helper file for thumb