Made a dumb mistake

 by writing information that has to be passed into the creation of the
class in the write function