properly defined image variable in header file