swapped reject for select
made thanks for playing a double quote string for new line character