by type and status