adding led manager code