wrote up 'Inference for Problem Statement'