removed main stuff