adding array test and more comments