main has been cleared