removed main from file