Removed passing pointers