a few more discrete problems