modified without pointer