Changed allocation method for selection