got partial application working better for fold