LED function added