removed need for thunkEntry variable