blackout feature added, bug fixed