Added constrtuctor to the file