built in the grabbing of the friend table