Added led functions