finish love function