co and generators and thunks