start of a basic stats script