More details on the auto-complete logic