add LED functionality