added lines to remove blinking