trapping first line of request