updated to the new select