primitive trap diagrams - Search