basic friend logic

requires delete logic improvements