Removed uneccessary pointers.