added .. else if (eli) .. snippet