Fill-in logic