added students into an array