made pointers consistent