If-else early support