getCompleteTable implemented