Change lamp init to separate dict to avoid repeat code