before scene begins