Implemented onTabComplete