tried a whole integration loop in the most simple case