removed main func for package