better benchmarking
added comments, variable 'n', etc...