changed name to selecTable