shortend init code