reintroduce descriptive_statistics in a slightly safer manner