LED based halogen lamp replacement