leadDetails added and passed to template