Made fuctionr receiver into pointers