eod bootstrap and if statement