using a pointer now