Add select on reponsitory