added dayLight + key functionality