collect some basic stats