problems with main