compiled with a new main but still don't work