variables now have values set after problem is solved