get_qualified_ints works, almost done