Let state to be passed as an argument to holder