problem with main