removes main