added path to parent

also changed some formatting