Move handleTabComplete