started implemeting selection