Bach wrote nearly 200 keyboard works, mainly sonatas while at Berlin. He was able to develop a network of people around Europe who were able to sell printed copies of his pieces which brought in a considerable income. The king however did not regard him as a composer, even though Bach dedicated some of his compositions to him. Bach wrote in 1773 that many of his compositions were simply written as a business to make money. Bach also helped make his father's music more widely known. he arranged the printing and sales of his music. Bach protected his father's original manuscripts, and it is because of this that some of them, including the St. John Passion and the St. Matthew Passion, have survived. Other manuscripts of Johann Sebastian's were given to Wilhelm Friedemann Bach, who sold them and they are now lost.