updated ArrayList index Fix, changed type of salary, fix Date object type