light indicator functionality