Light functions added