change call thunk to thunk()