tested up to PR, except for those with functions or conditional wages