How does a staffing agency work?