Goran implemented light functions