changed var name for pointers