scan and detail views