adding selection hash