Using pitfall traps to investigate species diversity