James Matthew Barrie was born in Kirriemuir, Angus, to a conservative Calvinist family. His father David Barrie was a modestly successful weaver. His mother Margaret Ogilvy assumed her deceased mother's household responsibilities at the age of eight. Barrie was the ninth child of ten (two of whom died before he was born), all of whom were schooled in at least the three Rs in preparation for possible professional careers. His siblings were: Alexander (1842 - 16 July 1914), Mary Ann (1845-1918), Jane (14 March 1847 - 31 August 1895), Elizabeth (12 March 1849 - 1 April 1851), Agnes (23 Dec 1850 - 1851), David Ogilvy (30 January 1853 - 29 January 1867), Sarah (3 June 1855 -1 November 1913), Isabella (4 January 1858 - 1902) and Margaret (9 July 1863 - 1936). He was a small child and drew attention to himself with storytelling. He only grew to 5 ft 3 1/2 in. (161 cm) according to his 1934 passport. When he was 6 years old, Barrie's next-older brother David (his mother's favourite) died the day before his 14th birthday in an ice-skating accident.This left his mother devastated, and Barrie tried to fill David's place in his mother's attentions, even wearing David's clothes and whistling in the manner that he did. One time, Barrie entered her room and heard her say, "Is that you?" "I thought it was the dead boy she was speaking to", wrote Barrie in his biographical account of his mother Margaret Ogilvy (1896) "and I said in a little lonely voice, 'No, it's no' him, it's just me.'" Barrie's mother found comfort in the fact that her dead son would remain a boy forever, never to grow up and leave her. Eventually, Barrie and his mother entertained each other with stories of her brief childhood and books such as Robinson Crusoe, works by fellow Scotsman Walter Scott, and The Pilgrim's Progress. At the age of 8, Barrie was sent to the Glasgow Academy in the care of his eldest siblings Alexander and Mary Ann, who taught at the school. When he was 10, he returned home and continued his education at the Forfar Academy. At 14, he left home for Dumfries Academy, again under the watch of Alexander and Mary Ann. He became a voracious reader, and was fond of Penny Dreadfuls and the works of Robert Michael Ballantyne and James Fenimore Cooper. At Dumfries, he and his friends spent time in the garden of Moat Brae house, playing pirates "in a sort of Odyssey that was long afterwards to become the play of Peter Pan". They formed a drama club, producing his first play Bandelero the Bandit, which provoked a minor controversy following a scathing moral denunciation from a clergyman on the school's governing board.

Answer this question "Did JM get along well with his family?" by extracting the answer from the text above.
Barrie tried to fill David's place in his mother's attentions,