Converting details to summary