added more array stuff