changed int table to ArrayList type  Integer
changed int table to ArrayList type  Integer