implemented basic cell selection