read each row of employee as an object