second commit, added array functions
cleanup