Updated SArray.java