added selectString to domain.java